package top.hidoctor.auscultation.bean;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
public class PatientLocalInfo implements Serializable {
    private String shengao;
    private String tizhong;
    private String tiwei;
    private String tiweiId;
    private String peihe;
    private String peiheId;
    private String zhengjing;
    private String shoushu;
    private String changsuo;
    private String changsuoId;
    private String address;
    private String fileName;
    private String name;// 昵称


    public PatientLocalInfo(String shengao, String tizhong, String tiwei, String tiweiId, String peihe, String peiheId,
                            String zhengjing, String shoushu, String changsuo, String changsuoId, String address, String fileName,
                            String pcmFileName, long time, int type, int duration, String name) {
        this.shengao = shengao;
        this.tizhong = tizhong;
        this.tiwei = tiwei;
        this.tiweiId = tiweiId;
        this.peihe = peihe;
        this.peiheId = peiheId;
        this.zhengjing = zhengjing;
        this.shoushu = shoushu;
        this.changsuo = changsuo;
        this.changsuoId = changsuoId;
        this.address = address;
        this.fileName = fileName;
        this.pcmFileName = pcmFileName;
        this.time = time;
        this.type = type;
        this.duration = duration;
        this.name = name;
    }

    private String pcmFileName;
    private long time;
    private int type; //1  心音同步  2 蓝牙设备获取文件
    private int duration = 0;//时间

    private int playStatus = 0;
    private int progress = 0;
    private String userId;//绑定的 患者
    private boolean upload; // 是否上传

}
